package com.whalehearing.tingyou.dto;

import lombok.Data;
import org.hibernate.validator.constraints.URL;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author: shensh
 * @Desc:
 * @create: 2025-04-14 10:32
 **/
@Data
public class StoreDeviceDTO {

    @NotBlank(message = "设备名称不能为空")
    private String deviceName;

    @NotBlank(message = "设备图片不能为空")
    @URL(message = "设备图片必须是一个合法的URL地址")
    private String deviceImage;
}

